from flask import Flask
import ssl

app = Flask(__name__)


@app.route("/")
def hello_world():
    return "Hello, World!"


if __name__ == "__main__":
    context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_2)
    context.load_cert_chain("server.crt", "server.key")
    app.run(ssl_context=context, host="0.0.0.0", port=5000)
